package com.niit.mall.api.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 品牌表
 * </p>
 *
 * @author ChuXuan
 * @since 2025-05-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_brand")
public class Brand implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 品牌id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    
    /**
     * 品牌名称
     */
    private String brandName;
    
    /**
     * 创建日期
     */
    private LocalDate createDate;

    /**
     * 更新日期
     */
    private LocalDate updateDate;

    /**
     * 删除标记，用于标识数据是否已被逻辑删除。
     */
    @TableLogic
    private Integer isDeleted;

    /**
     * 版本号
     */
    private Integer version;


}
